home *** CD-ROM | disk | FTP | other *** search
/ Netware Super Library / Netware Super Library.iso / cc_mail / tristero / tristero.bat < prev    next >
Encoding:
DOS Batch File  |  1995-05-02  |  1.1 KB  |  30 lines

  1. @echo off
  2. m:
  3. cd m:\ccrouter\tristero
  4.  
  5. rem
  6. rem change 'tristero' to match the namegiven by GatewayPO in tristero.ini
  7. rem change 'password' to the password of the post office at m:\ccdata
  8. rem change 'Silver-HQ' to the name of the post office at m:\ccdata
  9.  
  10. m:\ccadmin\export tristero password m:\ccdata @tristero.exp NAME/1 HILITE FILES/HEX
  11. tristero
  12. del tristero.exp >nul
  13. if exist tristero.imp m:\ccadmin\import Silver-HQ password m:\ccdata @tristero.imp NAME/1 PARTIAL HILITE FILES/HEX
  14. if exist tristero.adm m:\ccadmin\import Silver-HQ password m:\ccdata @tristero.adm NAME/1 PARTIAL HILITE
  15.  
  16. rem check for import failures
  17. if exist ccmail.und quote ccmail.und ccmail.unx
  18. if exist ccmail.und copy tristero.rej+ccmail.unx tristero.adm
  19. if exist tristero.adm m:\ccadmin\import Silver-HQ password m:\ccdata @tristero.adm NAME/1 PARTIAL FILES/HEX
  20. if exist ccmail.und del ccmail.und
  21. if exist ccmail.unx del ccmail.unx
  22.  
  23. rem optionally import ADE updates
  24. if exist tristero.ade m:\ccadmin\import Silver-HQ password m:\ccdata @tristero.ade NAME/1 DIRECTORY
  25.  
  26. rem Or optionally squelch them
  27. rem if exist tristero.ade del tristero.ade
  28.  
  29. cd m:\ccrouter
  30.